package org.puppet.demo.mario;

import org.puppet.game.World;

import android.os.Bundle;


public class MarioWorld extends World {

	@Override
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
		
		MarioView mainView = new MarioView();
		Mario mario = new Mario();
		
		mario.vX = 0.0f;
		mario.vY = 0.0f;
		mario.x = 150.0f;
		mario.y = 150f;
		mario.acceY = -0.0028f;
		
		mainView.addPuppet(mario);
		
		sceneManager.addSceneView("main", mainView);
	}
	
	
}
